package pp.infrastructure.util.stringhelper;

public class StringHelperConstant {
    //字符集
    public static final String DEFAULT_CHARSET = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
    public static final String ENGLISH_CHARSET = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";
    public static final String METH_CHARSET    = "0123456789";
    public static final String SYMBOL_CHARSET  = "_";

    //参数判断
    public static final long MIN_LENGTH = 1;
    public static final long MAX_LENGTH = 256;
    public static final long MIN_ALIVETIME = 0;
    public static final long MAX_ALIVETIME = 43200000;

    //加密解密
    public static final String REDIS_KEY_PREFIX = "generated_string";
    public static final String SECRET_METHOD  = "AES";//加密算法
    public static final String KEY = "!@#$%^&*()_+!@#$";  //加密密匙


}
